/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       environment.vert
 * Author:     karooolek
 * Created on: 2009-06-23
 *
 **********************************************************************************************************************/

STRINGIZE(

uniform samplerCube environmentMap;

void main()
{
    // get environment color
    vec4 env = textureCube(environmentMap, vec3(normalize(gl_TexCoord[0])));
    gl_FragColor = env;
}

) // STRINGIZE
